package learningThread.SpinLock;

public class TestSpinLock {

    private static SpinLock spinLock = new SpinLock();

    public static void main(String[] args) {
        TestThread[] ts = new TestThread[10];
        for (int i = 0; i < ts.length; i++) {
            ts[i] = new TestThread();
        }

        for (int i = 0; i < ts.length; i++) {
            ts[i].start();
        }
    }
}
